using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Resources;
using System.Windows.Forms;
using EditorButtonsDemo;
using FlexCell;
using Infragistics.UltraChart.Resources.Appearance;
using Infragistics.UltraChart.Shared.Styles;
using Infragistics.Win;
using Infragistics.Win.UltraWinChart;
using Infragistics.Win.UltraWinEditors;
using Infragistics.Win.UltraWinGrid;
using Infragistics.Win.UltraWinScrollBar;
using Infragistics.Win.UltraWinTabControl;
using Infragistics.Win.UltraWinTabs;
using Infragistics.Win.UltraWinTree;
using PluginFrame;

namespace PcrExperimentProject
{
	public class FormProjectManager : Form
	{
		protected bool mIsAllowToChangeChannelSettings;

		protected bool mIsMouseDownInNodeArea;

		protected ResourceManager mResourceManager;

		protected IApplication mApplication;

		protected IConfigurationService mConfigurationService;

		protected IMiscService mMiscService;

		protected IPcrLogService mPcrLogService;

		protected IPcrExperimentProjectService mPcrExperimentProjectService;

		protected IAnalysisService mAnalysisService;

		protected UltraTabControl mRuleTabControl;

		protected ContextMenuStrip mListMenu;

		protected string mCopiedProjectFile;

		protected string mSelectedProjectFile;

		protected UltraTabControl mTabProjectType;

		protected int mCurrentTypeIndex;

		protected int mInitialIndex;

		protected IContainer components;

		protected ListBox lstProject;

		protected UltraTextEditor ultraProjectFolder;

		protected GroupBox grpProjectList;

		protected Panel pnlControls;

		protected Panel pnlPreview;

		protected UltraTabControl ultraTabPreview;

		protected UltraTabSharedControlsPage ultraTabSharedControlsPage1;

		protected UltraTabPageControl ultraTabPageControl1;

		protected UltraTabPageControl ultraTabPageControl2;

		protected UltraTabPageControl ultraTabPageControl3;

		protected UltraTabPageControl ultraTabPageControl4;

		protected UltraTabPageControl ultraTabPageControl5;

		protected UltraTabPageControl ultraTabPageControl6;

		protected Panel panel1;

		protected TextBox txtExperimentType;

		protected TextBox txtProjectName;

		protected Label lblExperimentType;

		protected TextBox txtRemark;

		protected Label lblProjectFile;

		protected Label lblRemark;

		protected TextBox txtCreateTime;

		protected Label lblCreateTime;

		protected UltraTabPageControl ultraTabPageControl7;

		protected GroupBox grpTarget;

		protected Panel panelButtons;

		protected Label label1;

		protected Button btnClose;

		protected Button btnConfirm;

		private Panel panel2;

		private GroupBox grpCurve;

		protected UltraChart chartPcrProgram;

		protected UltraScrollBar scrollBar;

		private GroupBox groupBox;

		private UltraGrid grdCrossTalk;

		protected TextBox txtUnit;

		protected Label lblUnit;

		protected GroupBox grpControlMode;

		protected Label lblTemperatureControl;

		protected Label lblReactionVolume;

		protected Button btnCreateNewProject;

		private GroupBox grpProjectType;

		protected ComboBox cmbExperimentType;

		public FormProjectManager()
		{
		}

		public FormProjectManager(IApplication application)
		{
			mApplication = application;
			mConfigurationService = (IConfigurationService)application.GetService("ConfigurationService");
			mMiscService = (IMiscService)application.GetService("MiscService");
			mPcrLogService = (IPcrLogService)application.GetService("PcrLogService");
			mPcrExperimentProjectService = (IPcrExperimentProjectService)application.GetService("PcrExperimentProjectService");
			mAnalysisService = (IAnalysisService)application.GetService("AnalysisService");
			mResourceManager = ResourceManager.CreateFileBasedResourceManager("PcrExperimentProject", application.GetResourceFolder() + GetType().Namespace + "\\", null);
			InitializeComponent();
			InitializeForm();
			InitializeListMenu();
			mCopiedProjectFile = string.Empty;
			mIsAllowToChangeChannelSettings = true;
			cmbExperimentType.Enabled = true;
			cmbExperimentType.SelectedValue = mConfigurationService.DefaultProjectViewType;
			mCurrentTypeIndex = 0;
			mInitialIndex = 0;
		}

		protected virtual void InitializeListMenu()
		{
			mListMenu = new ContextMenuStrip();
			ToolStripMenuItem toolStripMenuItem = new ToolStripMenuItem(mResourceManager.GetString("MenuEdit"), null, mnuEditProject_Click, "MenuEdit");
			toolStripMenuItem.Enabled = mConfigurationService.ProjectAuthorization.Equals(ProjectAuthorizationEnum.System);
			mListMenu.Items.Add(toolStripMenuItem);
			mListMenu.Items.Add(new ToolStripSeparator());
			mListMenu.Items.Add(new ToolStripMenuItem(mResourceManager.GetString("MenuCopy"), null, mnuCopyProject_Click, "MenuCopy"));
			mListMenu.Items.Add(new ToolStripMenuItem(mResourceManager.GetString("MenuPaste"), null, mnuPasteProject_Click, "MenuPaste"));
			mListMenu.Items.Add(new ToolStripMenuItem(mResourceManager.GetString("MenuDelete"), null, mnuDeleteProject_Click, "MenuDelete"));
			lstProject.ContextMenuStrip = mListMenu;
		}

		protected virtual void InitializeForm()
		{
			Text = mResourceManager.GetString("ProjectManagerString");
			btnConfirm.Visible = false;
			btnClose.Click += btnClose_Click;
			InitializeExperimentType();
			InitializeProjectControls();
			InitializeProjectItemGrid();
			InitializeProjectFolder();
			InitializeProjectRule();
			mPcrExperimentProjectService.GenerateCrossTalkGrid(null, grdCrossTalk, false, true);
		}

		protected virtual void InitializeExperimentType()
		{
			DataTable pcrSystemTypeTable = mConfigurationService.PcrSystemTypeTable;
			cmbExperimentType.ValueMember = "Type Enum";
			cmbExperimentType.DisplayMember = "Type Name";
			cmbExperimentType.DataSource = pcrSystemTypeTable;
		}

		protected virtual void InitializeProjectRule()
		{
			((ISupportInitialize)ultraTabPreview).BeginInit();
			ultraTabPreview.SuspendLayout();
			mRuleTabControl = mPcrExperimentProjectService.GenerateRuleTabControl(true);
			ultraTabPreview.Tabs["Rule"].TabPage.Controls.Add(mRuleTabControl);
			ultraTabPreview.Tabs["Rule"].Tag = mRuleTabControl;
			ultraTabPreview.ResumeLayout();
			((ISupportInitialize)ultraTabPreview).EndInit();
		}

		protected virtual void InitializeProjectControls()
		{
			pnlControls.Visible = false;
		}

		protected void InitializeProjectItemGrid()
		{
			mTabProjectType = mPcrExperimentProjectService.CreateItemGridTabControl();
			grpTarget.Controls.Add(mTabProjectType);
		}

		protected virtual void InitializeProjectList()
		{
			RefreshProjectList();
			cmbExperimentType.SelectedValueChanged += cmbExperimentType_SelectedValueChanged;
			lstProject.SelectedValueChanged += lstProject_SelectedValueChanged;
			InitializeProjectListSelection(mInitialIndex);
		}

		protected virtual void InitializeProjectFolder()
		{
			DropDownEditorButton dropDownEditorButton = new DropDownEditorButton("FolderTree");
			ultraProjectFolder.ButtonsRight.Add(dropDownEditorButton);
			ultraProjectFolder.Text = mApplication.GetAssemblyPath() + mConfigurationService.ProjectFileDefaultFolder + "\\";
			ultraProjectFolder.BeforeEditorButtonDropDown += ultraProjectFolder_BeforeEditorButtonDropDown;
			ultraProjectFolder.AfterEditorButtonCloseUp += ultraProjectFolder_AfterEditorButtonCloseUp;
			ultraProjectFolder.KeyDown += ultraProjectFolder_KeyDown;
			UltraExplorerTree ultraExplorerTree = new UltraExplorerTree();
			ultraExplorerTree.Visible = false;
			ultraExplorerTree.Size = new Size(200, 250);
			ultraExplorerTree.MouseUp += FolderTree_MouseUp;
			ultraExplorerTree.MouseDown += FolderTree_MouseDown;
			ultraExplorerTree.KeyDown += FolderTree_KeyDown;
			base.Controls.Add(ultraExplorerTree);
			dropDownEditorButton.Control = ultraExplorerTree;
		}

		protected virtual void RefreshProjectList()
		{
			lstProject.Items.Clear();
			string[] files = Directory.GetFiles(ultraProjectFolder.Text, "*.prj");
			if (files == null)
			{
				return;
			}
			for (int i = 0; i < files.Length; i++)
			{
				IPcrExperimentProject pcrExperimentProject = mMiscService.DeSerializeBinaryFile(files[i]) as IPcrExperimentProject;
				if (pcrExperimentProject.SystemType == (PcrSystemType)cmbExperimentType.SelectedValue)
				{
					lstProject.Items.Add(Path.GetFileNameWithoutExtension(files[i]));
				}
			}
		}

		protected void InitializeProjectListSelection(int initialIndex)
		{
			if (lstProject.Items.Count > 0)
			{
				ultraTabPreview.Visible = true;
				if (initialIndex < lstProject.Items.Count)
				{
					lstProject.SetSelected(initialIndex, true);
				}
				else
				{
					lstProject.SetSelected(0, true);
				}
			}
			else
			{
				ultraTabPreview.Visible = false;
			}
		}

		protected virtual void RefreshProjectPreview(string projectFileName)
		{
			IPcrExperimentProject experimentProject = mPcrExperimentProjectService.LoadExperimentProjectFile(projectFileName);
			RefreshProjectInformation(projectFileName, experimentProject);
			RefreshProjectProgramCurve(experimentProject);
			RefreshProjectOption(experimentProject);
			RefreshProjectAnalysisOption(experimentProject);
			RefreshProjectCrossTalkOption(experimentProject);
			RefreshProjectRule(experimentProject);
		}

		private void RefreshProjectRule(IPcrExperimentProject experimentProject)
		{
			if (experimentProject.SystemType == PcrSystemType.AbsoluteAnalysis)
			{
				ultraTabPreview.Tabs["Rule"].Visible = true;
				ultraTabPreview.Tabs["Rule"].Enabled = true;
				UltraGrid grdRule = mRuleTabControl.Tabs["Rule"].TabPage.Controls[0] as UltraGrid;
				mPcrExperimentProjectService.RefreshRuleGrid(grdRule, experimentProject);
				if (experimentProject.AdvancedRule != null)
				{
					Panel panel = mRuleTabControl.Tabs["AdvancedRule"].TabPage.Controls["advancedRulePanel"] as Panel;
					UltraGrid multraGridRule = panel.Controls[0].Controls[0].Controls[0] as UltraGrid;
					IRuleEditorService ruleEditorService = (IRuleEditorService)mApplication.GetService("RuleEditorService");
					ruleEditorService.RefreshRuleGrid(multraGridRule, experimentProject);
					if (experimentProject.IsUseAdvancedRule)
					{
						mRuleTabControl.SelectedTab = mRuleTabControl.Tabs["AdvancedRule"];
					}
				}
			}
			else if (experimentProject.SystemType == PcrSystemType.Allele || experimentProject.SystemType == PcrSystemType.GeneScan)
			{
				if (ultraTabPreview.Tabs["Rule"].Selected)
				{
					ultraTabPreview.Tabs["Program Option"].Selected = true;
				}
				ultraTabPreview.Tabs["Rule"].Enabled = false;
				ultraTabPreview.Tabs["Rule"].Visible = false;
			}
		}

		private void RefreshProjectInformation(string projectFileName, IPcrExperimentProject experimentProject)
		{
			txtProjectName.Text = projectFileName;
			txtExperimentType.Text = mConfigurationService.FindSystemTypeString(experimentProject.SystemType);
			txtRemark.Text = experimentProject.Remark;
			txtCreateTime.Text = File.GetCreationTime(projectFileName).ToString();
			txtUnit.Text = ((experimentProject.SystemType == PcrSystemType.AbsoluteAnalysis) ? experimentProject.Unit : string.Empty);
		}

		private void RefreshProjectProgramCurve(IPcrExperimentProject experimentProject)
		{
			chartPcrProgram.Tag = experimentProject;
			mPcrExperimentProjectService.DrawExperimentProgramCurve(chartPcrProgram, experimentProject.PcrProgram, true, scrollBar, false, true);
		}

		private void RefreshProjectOption(IPcrExperimentProject experimentProject)
		{
			if (experimentProject != null)
			{
				string key = ((int)experimentProject.SystemType).ToString();
				Control control = mTabProjectType.Tabs[key].TabPage.Controls[0];
				Grid mItemGrid = (Grid)(object)((control is Grid) ? control : null);
				if (experimentProject.SystemType == PcrSystemType.AbsoluteAnalysis || experimentProject.SystemType == PcrSystemType.GeneScan)
				{
					mPcrExperimentProjectService.RefreshAbsoluteItemGridContent(mItemGrid, experimentProject, true);
				}
				else if (experimentProject.SystemType == PcrSystemType.Allele)
				{
					mPcrExperimentProjectService.RefreshAlleleItemGridContent(mItemGrid, experimentProject, true);
				}
				mTabProjectType.Tabs[key].Selected = true;
				mTabProjectType.Tabs[key].Active = true;
				if (experimentProject.TemperatureControlType == TemperatureControlType.Block)
				{
					lblTemperatureControl.Text = mResourceManager.GetString("ControlType") + mResourceManager.GetString("BlockControlString");
					lblReactionVolume.Visible = false;
				}
				else
				{
					lblTemperatureControl.Text = mResourceManager.GetString("ControlType") + mResourceManager.GetString("TubeControlString");
				}
				lblReactionVolume.Text = mResourceManager.GetString("ReactionVolumeString") + " " + experimentProject.ReactionVolume;
			}
		}

		private void RefreshProjectCrossTalkOption(IPcrExperimentProject experimentProject)
		{
			if (experimentProject.CrossTalkValue == null)
			{
				experimentProject.CrossTalkValue = new double[mConfigurationService.ChannelCount, mConfigurationService.ChannelCount];
			}
			if (experimentProject.SystemType == PcrSystemType.GeneScan)
			{
				ultraTabPreview.Tabs["Cross Talk"].Visible = false;
				return;
			}
			ultraTabPreview.Tabs["Cross Talk"].Visible = true;
			if (!mPcrExperimentProjectService.RefreshCrossTalkValueInGrid(experimentProject, grdCrossTalk))
			{
				ultraTabPreview.Tabs["Cross Talk"].Enabled = false;
				if (ultraTabPreview.SelectedTab.Key.Equals("Cross Talk"))
				{
					ultraTabPreview.Tabs["Program Option"].Active = true;
					ultraTabPreview.SelectedTab = ultraTabPreview.Tabs["Program Option"];
				}
			}
			else
			{
				ultraTabPreview.Tabs["Cross Talk"].Enabled = true;
			}
		}

		private void RefreshProjectAnalysisOption(IPcrExperimentProject experimentProject)
		{
			UltraTabPageControl tabPage = ultraTabPreview.Tabs["Analysis Option"].TabPage;
			tabPage.Controls.Clear();
			UltraTabControl ultraTabControl = mAnalysisService.GenerateAnalysisOptionTabControl(new List<IPcrExperimentProject> { experimentProject }, true, true);
			ultraTabControl.Visible = false;
			ultraTabControl.Size = new Size(tabPage.Width, tabPage.Height);
			UltraTabControl ultraTabControl2 = ultraTabControl.Tabs[experimentProject.Name].TabPage.Controls[0] as UltraTabControl;
			if (ultraTabControl2 != null)
			{
				mAnalysisService.RefreshMeltingAnalysisOptionTab(ultraTabControl2, experimentProject);
			}
			tabPage.Controls.Add(ultraTabControl);
			ultraTabControl.Visible = true;
		}

		protected void LoadProjectEditor()
		{
			if (!mConfigurationService.ProjectAuthorization.Equals(ProjectAuthorizationEnum.User))
			{
				string text = mPcrExperimentProjectService.LoadExperimentProjectEditor(mSelectedProjectFile, mIsAllowToChangeChannelSettings);
				if (!string.IsNullOrEmpty(text))
				{
					lstProject.Items[lstProject.SelectedIndex] = Path.GetFileNameWithoutExtension(text);
					RefreshProjectPreview(text);
				}
			}
		}

		private void FolderTree_MouseUp(object sender, MouseEventArgs e)
		{
			try
			{
				if (!mIsMouseDownInNodeArea)
				{
					return;
				}
				UltraExplorerTree ultraExplorerTree = sender as UltraExplorerTree;
				DropDownEditorButton dropDownEditorButton = DropDownEditorButton.FromControl(ultraExplorerTree);
				if (ultraExplorerTree != null && dropDownEditorButton != null)
				{
					if (ultraExplorerTree.SelectedNodes.Count > 0)
					{
						dropDownEditorButton.Editor.Value = ultraExplorerTree.SelectedNodes[0].FullPath;
					}
					dropDownEditorButton.CloseUp();
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		private void FolderTree_MouseDown(object sender, MouseEventArgs e)
		{
			try
			{
				mIsMouseDownInNodeArea = false;
				if (e.Button != MouseButtons.Left)
				{
					return;
				}
				UltraExplorerTree ultraExplorerTree = sender as UltraExplorerTree;
				if (ultraExplorerTree != null)
				{
					UIElement uIElement = ultraExplorerTree.UIElement.ElementFromPoint(new Point(e.X, e.Y));
					if (uIElement != null && !(uIElement is Infragistics.Win.UltraWinTree.ExpansionIndicatorUIElement) && uIElement.GetAncestor(typeof(NodeClientAreaUIElement)) != null)
					{
						mIsMouseDownInNodeArea = true;
					}
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		private void FolderTree_KeyDown(object sender, KeyEventArgs e)
		{
			try
			{
				if (e.KeyData != Keys.Return)
				{
					return;
				}
				UltraExplorerTree ultraExplorerTree = sender as UltraExplorerTree;
				DropDownEditorButton dropDownEditorButton = DropDownEditorButton.FromControl(ultraExplorerTree);
				if (ultraExplorerTree != null && dropDownEditorButton != null)
				{
					if (ultraExplorerTree.SelectedNodes.Count > 0)
					{
						dropDownEditorButton.Editor.Value = ultraExplorerTree.SelectedNodes[0].FullPath;
					}
					dropDownEditorButton.CloseUp();
					e.Handled = true;
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		private void ultraProjectFolder_AfterEditorButtonCloseUp(object sender, EditorButtonEventArgs e)
		{
			if (!ultraProjectFolder.Text.EndsWith("\\"))
			{
				ultraProjectFolder.Text += "\\";
			}
			RefreshProjectList();
			InitializeProjectListSelection(0);
		}

		private void ultraProjectFolder_BeforeEditorButtonDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
		{
			try
			{
				if (e.Button.Key == "FolderTree")
				{
					((DropDownEditorButton)e.Button).Control.Width = ((Control)sender).Width;
					UltraExplorerTree ultraExplorerTree = ((DropDownEditorButton)e.Button).Control as UltraExplorerTree;
					if (ultraExplorerTree != null)
					{
						ultraExplorerTree.CollapseAll();
						ultraExplorerTree.SelectFolder(e.Button.Editor.CurrentEditText);
					}
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		private void ultraProjectFolder_KeyDown(object sender, KeyEventArgs e)
		{
			try
			{
				if (e.KeyData != Keys.F4 && e.KeyData != (Keys.Down | Keys.Alt))
				{
					return;
				}
				DropDownEditorButton dropDownEditorButton = ultraProjectFolder.ButtonsRight["FolderTree"] as DropDownEditorButton;
				if (dropDownEditorButton != null)
				{
					if (dropDownEditorButton.IsDroppedDown)
					{
						dropDownEditorButton.CloseUp();
					}
					else
					{
						dropDownEditorButton.DropDown();
					}
				}
				e.Handled = true;
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected void lstProject_SelectedValueChanged(object sender, EventArgs e)
		{
			try
			{
				if (string.IsNullOrEmpty(lstProject.Text))
				{
					mSelectedProjectFile = string.Empty;
					return;
				}
				mSelectedProjectFile = Path.GetFullPath(ultraProjectFolder.Text) + lstProject.Text + ".prj";
				if (!File.Exists(mSelectedProjectFile))
				{
					mSelectedProjectFile = string.Empty;
					return;
				}
				Cursor = Cursors.WaitCursor;
				RefreshProjectPreview(mSelectedProjectFile);
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
			finally
			{
				Cursor = Cursors.Default;
			}
		}

		protected void cmbExperimentType_SelectedValueChanged(object sender, EventArgs e)
		{
			try
			{
				if (mCurrentTypeIndex != cmbExperimentType.SelectedIndex)
				{
					mCurrentTypeIndex = cmbExperimentType.SelectedIndex;
					RefreshProjectList();
					InitializeProjectListSelection(0);
					mConfigurationService.DefaultProjectViewType = (PcrSystemType)cmbExperimentType.SelectedValue;
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected void btnClose_Click(object sender, EventArgs e)
		{
			try
			{
				Close();
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected void FormProjectManager_Load(object sender, EventArgs e)
		{
			InitializeProjectList();
		}

		protected virtual void btnConfirm_Click(object sender, EventArgs e)
		{
		}

		protected void mnuEditProject_Click(object sender, EventArgs e)
		{
			try
			{
				LoadProjectEditor();
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected void mnuCopyProject_Click(object sender, EventArgs e)
		{
			try
			{
				if (!string.IsNullOrEmpty(mSelectedProjectFile))
				{
					mCopiedProjectFile = mSelectedProjectFile;
				}
				else
				{
					mCopiedProjectFile = string.Empty;
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected void mnuPasteProject_Click(object sender, EventArgs e)
		{
			try
			{
				if (string.IsNullOrEmpty(mCopiedProjectFile))
				{
					return;
				}
				if (File.Exists(mCopiedProjectFile))
				{
					string text = Path.GetFileNameWithoutExtension(mCopiedProjectFile) + "_copy";
					string fullPath = Path.GetFullPath(ultraProjectFolder.Text);
					string text2 = fullPath + text + ".prj";
					DialogResult dialogResult = DialogResult.OK;
					if (File.Exists(text2))
					{
						dialogResult = MessageBox.Show(mResourceManager.GetString("ProjectOverwrite"), mResourceManager.GetString("HintString"), MessageBoxButtons.OKCancel);
						if (dialogResult == DialogResult.Cancel)
						{
							return;
						}
					}
					File.Copy(mCopiedProjectFile, text2, true);
					IPcrExperimentProject pcrExperimentProject = mPcrExperimentProjectService.LoadExperimentProjectFile(text2);
					mPcrExperimentProjectService.SaveExperimentProject(pcrExperimentProject);
					if (!lstProject.Items.Contains(text))
					{
						lstProject.Items.Add(text);
					}
					lstProject.SelectedItem = text;
					ultraTabPreview.Visible = true;
					mCopiedProjectFile = string.Empty;
				}
				else
				{
					MessageBox.Show(mResourceManager.GetString("PasteProjectFailString"), mResourceManager.GetString("ErrorString"));
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected void mnuDeleteProject_Click(object sender, EventArgs e)
		{
			try
			{
				if (string.IsNullOrEmpty(mSelectedProjectFile))
				{
					return;
				}
				DialogResult dialogResult = MessageBox.Show(mResourceManager.GetString("DeleteRrojectFileString") + mSelectedProjectFile + "?", mResourceManager.GetString("HintString"), MessageBoxButtons.OKCancel);
				if (dialogResult != DialogResult.OK)
				{
					return;
				}
				File.Delete(mSelectedProjectFile);
				int selectedIndex = lstProject.SelectedIndex;
				lstProject.Items.Remove(lstProject.Text);
				if (selectedIndex >= lstProject.Items.Count)
				{
					if (lstProject.Items.Count > 0)
					{
						lstProject.SelectedItem = lstProject.Items[lstProject.Items.Count - 1];
					}
					else
					{
						ultraTabPreview.Visible = false;
					}
				}
				else
				{
					lstProject.SelectedIndex = selectedIndex;
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected void mnuRenameProject_Click(object sender, EventArgs e)
		{
		}

		protected void lstProject_MouseUp(object sender, MouseEventArgs e)
		{
			try
			{
				if (e.Button == MouseButtons.Right)
				{
					UpdateProjectListMenuState();
					mListMenu.Show(lstProject, e.Location);
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		private void lstProject_MouseDoubleClick(object sender, MouseEventArgs e)
		{
			try
			{
				if (e.Button == MouseButtons.Left)
				{
					LoadProjectEditor();
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected virtual void UpdateProjectListMenuState()
		{
			bool flag = !string.IsNullOrEmpty(lstProject.Text.ToString());
			if (mListMenu.Items["MenuEdit"].Enabled)
			{
				mListMenu.Items["MenuEdit"].Enabled = !flag;
			}
			mListMenu.Items["MenuCopy"].Enabled = flag;
			mListMenu.Items["MenuDelete"].Enabled = flag;
			mListMenu.Items["MenuPaste"].Enabled = !string.IsNullOrEmpty(mCopiedProjectFile);
		}

		private void btnCreateNewProject_Click(object sender, EventArgs e)
		{
			IPcrExperimentProject pcrExperimentProject = mPcrExperimentProjectService.CreateNewProjectFromEditor((PcrSystemType)cmbExperimentType.SelectedValue);
			if (pcrExperimentProject != null && pcrExperimentProject.FileName.IndexOf(ultraProjectFolder.Text) >= 0)
			{
				ultraTabPreview.Visible = true;
				lstProject.Items.Add(Path.GetFileNameWithoutExtension(pcrExperimentProject.FileName));
				lstProject.SelectedIndex = lstProject.Items.Count - 1;
				RefreshProjectPreview(pcrExperimentProject.FileName);
			}
		}

		private void chartPcrProgram_SizeChanged(object sender, EventArgs e)
		{
			try
			{
				IPcrExperimentProject pcrExperimentProject = chartPcrProgram.Tag as IPcrExperimentProject;
				if (pcrExperimentProject != null)
				{
					mPcrExperimentProjectService.DrawExperimentProgramCurve(chartPcrProgram, pcrExperimentProject.PcrProgram, true, scrollBar, false, true);
				}
			}
			catch (Exception ex)
			{
				mPcrLogService.ShowExceptionDialogBox(ex);
			}
		}

		protected override void Dispose(bool disposing)
		{
			if (disposing && components != null)
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		protected void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PcrExperimentProject.FormProjectManager));
			Infragistics.UltraChart.Resources.Appearance.PaintElement paintElement = new Infragistics.UltraChart.Resources.Appearance.PaintElement();
			Infragistics.UltraChart.Resources.Appearance.GradientEffect effect = new Infragistics.UltraChart.Resources.Appearance.GradientEffect();
			Infragistics.Win.UltraWinScrollBar.ScrollBarLook scrollBarLook = new Infragistics.Win.UltraWinScrollBar.ScrollBarLook();
			Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
			Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
			Infragistics.Win.UltraWinTabControl.UltraTab ultraTab = new Infragistics.Win.UltraWinTabControl.UltraTab();
			Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
			Infragistics.Win.UltraWinTabControl.UltraTab ultraTab3 = new Infragistics.Win.UltraWinTabControl.UltraTab();
			Infragistics.Win.UltraWinTabControl.UltraTab ultraTab4 = new Infragistics.Win.UltraWinTabControl.UltraTab();
			Infragistics.Win.UltraWinTabControl.UltraTab ultraTab5 = new Infragistics.Win.UltraWinTabControl.UltraTab();
			Infragistics.Win.UltraWinTabControl.UltraTab ultraTab6 = new Infragistics.Win.UltraWinTabControl.UltraTab();
			this.ultraTabPageControl7 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
			this.grpCurve = new System.Windows.Forms.GroupBox();
			this.chartPcrProgram = new Infragistics.Win.UltraWinChart.UltraChart();
			this.scrollBar = new Infragistics.Win.UltraWinScrollBar.UltraScrollBar();
			this.panel2 = new System.Windows.Forms.Panel();
			this.grpTarget = new System.Windows.Forms.GroupBox();
			this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
			this.panel1 = new System.Windows.Forms.Panel();
			this.txtUnit = new System.Windows.Forms.TextBox();
			this.lblUnit = new System.Windows.Forms.Label();
			this.grpControlMode = new System.Windows.Forms.GroupBox();
			this.lblTemperatureControl = new System.Windows.Forms.Label();
			this.lblReactionVolume = new System.Windows.Forms.Label();
			this.txtCreateTime = new System.Windows.Forms.TextBox();
			this.lblCreateTime = new System.Windows.Forms.Label();
			this.txtExperimentType = new System.Windows.Forms.TextBox();
			this.txtProjectName = new System.Windows.Forms.TextBox();
			this.lblExperimentType = new System.Windows.Forms.Label();
			this.txtRemark = new System.Windows.Forms.TextBox();
			this.lblProjectFile = new System.Windows.Forms.Label();
			this.lblRemark = new System.Windows.Forms.Label();
			this.ultraTabPageControl4 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
			this.ultraTabPageControl5 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
			this.ultraTabPageControl6 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
			this.grdCrossTalk = new Infragistics.Win.UltraWinGrid.UltraGrid();
			this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
			this.lstProject = new System.Windows.Forms.ListBox();
			this.ultraProjectFolder = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
			this.grpProjectList = new System.Windows.Forms.GroupBox();
			this.pnlControls = new System.Windows.Forms.Panel();
			this.pnlPreview = new System.Windows.Forms.Panel();
			this.ultraTabPreview = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
			this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
			this.ultraTabPageControl3 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
			this.panelButtons = new System.Windows.Forms.Panel();
			this.btnCreateNewProject = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.btnClose = new System.Windows.Forms.Button();
			this.btnConfirm = new System.Windows.Forms.Button();
			this.groupBox = new System.Windows.Forms.GroupBox();
			this.grpProjectType = new System.Windows.Forms.GroupBox();
			this.cmbExperimentType = new System.Windows.Forms.ComboBox();
			this.ultraTabPageControl7.SuspendLayout();
			this.grpCurve.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.chartPcrProgram).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.scrollBar).BeginInit();
			this.panel2.SuspendLayout();
			this.ultraTabPageControl1.SuspendLayout();
			this.panel1.SuspendLayout();
			this.grpControlMode.SuspendLayout();
			this.ultraTabPageControl6.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.grdCrossTalk).BeginInit();
			((System.ComponentModel.ISupportInitialize)this.ultraProjectFolder).BeginInit();
			this.grpProjectList.SuspendLayout();
			this.pnlPreview.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.ultraTabPreview).BeginInit();
			this.ultraTabPreview.SuspendLayout();
			this.panelButtons.SuspendLayout();
			this.groupBox.SuspendLayout();
			this.grpProjectType.SuspendLayout();
			base.SuspendLayout();
			this.ultraTabPageControl7.AccessibleDescription = null;
			this.ultraTabPageControl7.AccessibleName = null;
			resources.ApplyResources(this.ultraTabPageControl7, "ultraTabPageControl7");
			this.ultraTabPageControl7.Controls.Add(this.grpCurve);
			this.ultraTabPageControl7.Controls.Add(this.panel2);
			this.ultraTabPageControl7.Font = null;
			this.ultraTabPageControl7.Name = "ultraTabPageControl7";
			this.grpCurve.AccessibleDescription = null;
			this.grpCurve.AccessibleName = null;
			resources.ApplyResources(this.grpCurve, "grpCurve");
			this.grpCurve.BackgroundImage = null;
			this.grpCurve.Controls.Add(this.chartPcrProgram);
			this.grpCurve.Controls.Add(this.scrollBar);
			this.grpCurve.Font = null;
			this.grpCurve.Name = "grpCurve";
			this.grpCurve.TabStop = false;
			this.chartPcrProgram.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.StepLineChart;
			this.chartPcrProgram.AccessibleDescription = null;
			this.chartPcrProgram.AccessibleName = null;
			resources.ApplyResources(this.chartPcrProgram, "chartPcrProgram");
			this.chartPcrProgram.Axis.BackColor = System.Drawing.Color.FromArgb(255, 248, 220);
			paintElement.ElementType = Infragistics.UltraChart.Shared.Styles.PaintElementType.None;
			paintElement.Fill = System.Drawing.Color.FromArgb(255, 248, 220);
			this.chartPcrProgram.Axis.PE = paintElement;
			this.chartPcrProgram.Axis.X.Extent = 10;
			this.chartPcrProgram.Axis.X.Labels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.X.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
			this.chartPcrProgram.Axis.X.Labels.ItemFormatString = "<ITEM_LABEL:MM-dd-yy>";
			this.chartPcrProgram.Axis.X.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
			this.chartPcrProgram.Axis.X.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.X.Labels.SeriesLabels.FormatString = "";
			this.chartPcrProgram.Axis.X.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
			this.chartPcrProgram.Axis.X.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.X.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
			this.chartPcrProgram.Axis.X.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.X.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.X.LineThickness = 1;
			this.chartPcrProgram.Axis.X.MajorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.X.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
			this.chartPcrProgram.Axis.X.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.X.MajorGridLines.Visible = true;
			this.chartPcrProgram.Axis.X.MinorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.X.MinorGridLines.Color = System.Drawing.Color.LightGray;
			this.chartPcrProgram.Axis.X.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.X.MinorGridLines.Visible = false;
			this.chartPcrProgram.Axis.X.TickmarkInterval = 50.0;
			this.chartPcrProgram.Axis.X.TickmarkIntervalType = Infragistics.UltraChart.Shared.Styles.AxisIntervalType.Hours;
			this.chartPcrProgram.Axis.X.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
			this.chartPcrProgram.Axis.X.Visible = true;
			this.chartPcrProgram.Axis.X2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.X2.Labels.FontColor = System.Drawing.Color.Gray;
			this.chartPcrProgram.Axis.X2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Far;
			this.chartPcrProgram.Axis.X2.Labels.ItemFormatString = "<ITEM_LABEL:MM-dd-yy>";
			this.chartPcrProgram.Axis.X2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.X2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
			this.chartPcrProgram.Axis.X2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.X2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
			this.chartPcrProgram.Axis.X2.Labels.SeriesLabels.FormatString = "";
			this.chartPcrProgram.Axis.X2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Far;
			this.chartPcrProgram.Axis.X2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.X2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalLeftFacing;
			this.chartPcrProgram.Axis.X2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.X2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.X2.Labels.Visible = false;
			this.chartPcrProgram.Axis.X2.LineThickness = 1;
			this.chartPcrProgram.Axis.X2.MajorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.X2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
			this.chartPcrProgram.Axis.X2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.X2.MajorGridLines.Visible = true;
			this.chartPcrProgram.Axis.X2.MinorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.X2.MinorGridLines.Color = System.Drawing.Color.LightGray;
			this.chartPcrProgram.Axis.X2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.X2.MinorGridLines.Visible = false;
			this.chartPcrProgram.Axis.X2.TickmarkInterval = 50.0;
			this.chartPcrProgram.Axis.X2.TickmarkIntervalType = Infragistics.UltraChart.Shared.Styles.AxisIntervalType.Hours;
			this.chartPcrProgram.Axis.X2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
			this.chartPcrProgram.Axis.X2.Visible = false;
			this.chartPcrProgram.Axis.Y.Extent = 10;
			this.chartPcrProgram.Axis.Y.Labels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.Y.Labels.HorizontalAlign = System.Drawing.StringAlignment.Far;
			this.chartPcrProgram.Axis.Y.Labels.ItemFormatString = "<DATA_VALUE:00.##>";
			this.chartPcrProgram.Axis.Y.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.Y.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
			this.chartPcrProgram.Axis.Y.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.Y.Labels.SeriesLabels.FormatString = "";
			this.chartPcrProgram.Axis.Y.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Far;
			this.chartPcrProgram.Axis.Y.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.Y.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
			this.chartPcrProgram.Axis.Y.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.Y.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.Y.LineThickness = 1;
			this.chartPcrProgram.Axis.Y.MajorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.Y.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
			this.chartPcrProgram.Axis.Y.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.Y.MajorGridLines.Visible = true;
			this.chartPcrProgram.Axis.Y.MinorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.Y.MinorGridLines.Color = System.Drawing.Color.LightGray;
			this.chartPcrProgram.Axis.Y.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.Y.MinorGridLines.Visible = false;
			this.chartPcrProgram.Axis.Y.TickmarkInterval = 2.0;
			this.chartPcrProgram.Axis.Y.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
			this.chartPcrProgram.Axis.Y.Visible = true;
			this.chartPcrProgram.Axis.Y2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.Y2.Labels.FontColor = System.Drawing.Color.Gray;
			this.chartPcrProgram.Axis.Y2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
			this.chartPcrProgram.Axis.Y2.Labels.ItemFormatString = "<DATA_VALUE:00.##>";
			this.chartPcrProgram.Axis.Y2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.Y2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
			this.chartPcrProgram.Axis.Y2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.Y2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
			this.chartPcrProgram.Axis.Y2.Labels.SeriesLabels.FormatString = "";
			this.chartPcrProgram.Axis.Y2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
			this.chartPcrProgram.Axis.Y2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.Y2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
			this.chartPcrProgram.Axis.Y2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.Y2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.Y2.Labels.Visible = false;
			this.chartPcrProgram.Axis.Y2.LineThickness = 1;
			this.chartPcrProgram.Axis.Y2.MajorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.Y2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
			this.chartPcrProgram.Axis.Y2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.Y2.MajorGridLines.Visible = true;
			this.chartPcrProgram.Axis.Y2.MinorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.Y2.MinorGridLines.Color = System.Drawing.Color.LightGray;
			this.chartPcrProgram.Axis.Y2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.Y2.MinorGridLines.Visible = false;
			this.chartPcrProgram.Axis.Y2.TickmarkInterval = 50000.0;
			this.chartPcrProgram.Axis.Y2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
			this.chartPcrProgram.Axis.Y2.Visible = false;
			this.chartPcrProgram.Axis.Z.Labels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.Z.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
			this.chartPcrProgram.Axis.Z.Labels.ItemFormatString = "";
			this.chartPcrProgram.Axis.Z.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.Z.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
			this.chartPcrProgram.Axis.Z.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.Z.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
			this.chartPcrProgram.Axis.Z.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.Z.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
			this.chartPcrProgram.Axis.Z.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.Z.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.Z.LineThickness = 1;
			this.chartPcrProgram.Axis.Z.MajorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.Z.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
			this.chartPcrProgram.Axis.Z.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.Z.MajorGridLines.Visible = true;
			this.chartPcrProgram.Axis.Z.MinorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.Z.MinorGridLines.Color = System.Drawing.Color.LightGray;
			this.chartPcrProgram.Axis.Z.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.Z.MinorGridLines.Visible = false;
			this.chartPcrProgram.Axis.Z.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
			this.chartPcrProgram.Axis.Z.Visible = false;
			this.chartPcrProgram.Axis.Z2.Labels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.Z2.Labels.FontColor = System.Drawing.Color.Gray;
			this.chartPcrProgram.Axis.Z2.Labels.HorizontalAlign = System.Drawing.StringAlignment.Near;
			this.chartPcrProgram.Axis.Z2.Labels.ItemFormatString = "";
			this.chartPcrProgram.Axis.Z2.Labels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.Z2.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
			this.chartPcrProgram.Axis.Z2.Labels.SeriesLabels.Font = new System.Drawing.Font("Verdana", 7f);
			this.chartPcrProgram.Axis.Z2.Labels.SeriesLabels.FontColor = System.Drawing.Color.Gray;
			this.chartPcrProgram.Axis.Z2.Labels.SeriesLabels.HorizontalAlign = System.Drawing.StringAlignment.Near;
			this.chartPcrProgram.Axis.Z2.Labels.SeriesLabels.Layout.Behavior = Infragistics.UltraChart.Shared.Styles.AxisLabelLayoutBehaviors.Auto;
			this.chartPcrProgram.Axis.Z2.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;
			this.chartPcrProgram.Axis.Z2.Labels.SeriesLabels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.Z2.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
			this.chartPcrProgram.Axis.Z2.Labels.Visible = false;
			this.chartPcrProgram.Axis.Z2.LineThickness = 1;
			this.chartPcrProgram.Axis.Z2.MajorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.Z2.MajorGridLines.Color = System.Drawing.Color.Gainsboro;
			this.chartPcrProgram.Axis.Z2.MajorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.Z2.MajorGridLines.Visible = true;
			this.chartPcrProgram.Axis.Z2.MinorGridLines.AlphaLevel = byte.MaxValue;
			this.chartPcrProgram.Axis.Z2.MinorGridLines.Color = System.Drawing.Color.LightGray;
			this.chartPcrProgram.Axis.Z2.MinorGridLines.DrawStyle = Infragistics.UltraChart.Shared.Styles.LineDrawStyle.Dot;
			this.chartPcrProgram.Axis.Z2.MinorGridLines.Visible = false;
			this.chartPcrProgram.Axis.Z2.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.Smart;
			this.chartPcrProgram.Axis.Z2.Visible = false;
			this.chartPcrProgram.BackgroundImage = null;
			this.chartPcrProgram.ColorModel.AlphaLevel = 150;
			this.chartPcrProgram.ColorModel.ColorBegin = System.Drawing.Color.Pink;
			this.chartPcrProgram.ColorModel.ColorEnd = System.Drawing.Color.DarkRed;
			this.chartPcrProgram.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear;
			this.chartPcrProgram.Effects.Effects.Add(effect);
			this.chartPcrProgram.Font = null;
			this.chartPcrProgram.Name = "chartPcrProgram";
			this.chartPcrProgram.Tooltips.HighlightFillColor = System.Drawing.Color.Black;
			this.chartPcrProgram.Tooltips.HighlightOutlineColor = System.Drawing.Color.DarkGray;
			this.chartPcrProgram.SizeChanged += new System.EventHandler(chartPcrProgram_SizeChanged);
			this.scrollBar.AccessibleDescription = null;
			this.scrollBar.AccessibleName = null;
			resources.ApplyResources(this.scrollBar, "scrollBar");
			this.scrollBar.BackgroundImage = null;
			this.scrollBar.Font = null;
			this.scrollBar.Name = "scrollBar";
			this.scrollBar.NonAutoSize = new System.Drawing.Size(80, 17);
			this.scrollBar.ScrollBarInfo.Enabled = true;
			scrollBarLook.ShowMinMaxButtons = Infragistics.Win.DefaultableBoolean.True;
			this.scrollBar.ScrollBarInfo.ScrollBarLook = scrollBarLook;
			this.scrollBar.ScrollBarInfo.SetFocusOnClick = true;
			this.scrollBar.ShowMinMaxButtons = Infragistics.Win.DefaultableBoolean.True;
			this.panel2.AccessibleDescription = null;
			this.panel2.AccessibleName = null;
			resources.ApplyResources(this.panel2, "panel2");
			this.panel2.BackgroundImage = null;
			this.panel2.Controls.Add(this.grpTarget);
			this.panel2.Font = null;
			this.panel2.Name = "panel2";
			this.grpTarget.AccessibleDescription = null;
			this.grpTarget.AccessibleName = null;
			resources.ApplyResources(this.grpTarget, "grpTarget");
			this.grpTarget.BackgroundImage = null;
			this.grpTarget.Font = null;
			this.grpTarget.Name = "grpTarget";
			this.grpTarget.TabStop = false;
			this.ultraTabPageControl1.AccessibleDescription = null;
			this.ultraTabPageControl1.AccessibleName = null;
			resources.ApplyResources(this.ultraTabPageControl1, "ultraTabPageControl1");
			this.ultraTabPageControl1.Controls.Add(this.panel1);
			this.ultraTabPageControl1.Font = null;
			this.ultraTabPageControl1.Name = "ultraTabPageControl1";
			this.panel1.AccessibleDescription = null;
			this.panel1.AccessibleName = null;
			resources.ApplyResources(this.panel1, "panel1");
			this.panel1.BackgroundImage = null;
			this.panel1.Controls.Add(this.txtUnit);
			this.panel1.Controls.Add(this.lblUnit);
			this.panel1.Controls.Add(this.grpControlMode);
			this.panel1.Controls.Add(this.txtCreateTime);
			this.panel1.Controls.Add(this.lblCreateTime);
			this.panel1.Controls.Add(this.txtExperimentType);
			this.panel1.Controls.Add(this.txtProjectName);
			this.panel1.Controls.Add(this.lblExperimentType);
			this.panel1.Controls.Add(this.txtRemark);
			this.panel1.Controls.Add(this.lblProjectFile);
			this.panel1.Controls.Add(this.lblRemark);
			this.panel1.Font = null;
			this.panel1.Name = "panel1";
			this.txtUnit.AccessibleDescription = null;
			this.txtUnit.AccessibleName = null;
			resources.ApplyResources(this.txtUnit, "txtUnit");
			this.txtUnit.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
			this.txtUnit.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
			this.txtUnit.BackColor = System.Drawing.SystemColors.Control;
			this.txtUnit.BackgroundImage = null;
			this.txtUnit.Font = null;
			this.txtUnit.Name = "txtUnit";
			this.txtUnit.ReadOnly = true;
			this.lblUnit.AccessibleDescription = null;
			this.lblUnit.AccessibleName = null;
			resources.ApplyResources(this.lblUnit, "lblUnit");
			this.lblUnit.Font = null;
			this.lblUnit.Name = "lblUnit";
			this.grpControlMode.AccessibleDescription = null;
			this.grpControlMode.AccessibleName = null;
			resources.ApplyResources(this.grpControlMode, "grpControlMode");
			this.grpControlMode.BackgroundImage = null;
			this.grpControlMode.Controls.Add(this.lblTemperatureControl);
			this.grpControlMode.Controls.Add(this.lblReactionVolume);
			this.grpControlMode.Font = null;
			this.grpControlMode.Name = "grpControlMode";
			this.grpControlMode.TabStop = false;
			this.lblTemperatureControl.AccessibleDescription = null;
			this.lblTemperatureControl.AccessibleName = null;
			resources.ApplyResources(this.lblTemperatureControl, "lblTemperatureControl");
			this.lblTemperatureControl.Font = null;
			this.lblTemperatureControl.Name = "lblTemperatureControl";
			this.lblReactionVolume.AccessibleDescription = null;
			this.lblReactionVolume.AccessibleName = null;
			resources.ApplyResources(this.lblReactionVolume, "lblReactionVolume");
			this.lblReactionVolume.Font = null;
			this.lblReactionVolume.Name = "lblReactionVolume";
			this.txtCreateTime.AccessibleDescription = null;
			this.txtCreateTime.AccessibleName = null;
			resources.ApplyResources(this.txtCreateTime, "txtCreateTime");
			this.txtCreateTime.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
			this.txtCreateTime.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
			this.txtCreateTime.BackColor = System.Drawing.SystemColors.Control;
			this.txtCreateTime.BackgroundImage = null;
			this.txtCreateTime.Font = null;
			this.txtCreateTime.Name = "txtCreateTime";
			this.txtCreateTime.ReadOnly = true;
			this.lblCreateTime.AccessibleDescription = null;
			this.lblCreateTime.AccessibleName = null;
			resources.ApplyResources(this.lblCreateTime, "lblCreateTime");
			this.lblCreateTime.Font = null;
			this.lblCreateTime.Name = "lblCreateTime";
			this.txtExperimentType.AccessibleDescription = null;
			this.txtExperimentType.AccessibleName = null;
			resources.ApplyResources(this.txtExperimentType, "txtExperimentType");
			this.txtExperimentType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
			this.txtExperimentType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
			this.txtExperimentType.BackColor = System.Drawing.SystemColors.Control;
			this.txtExperimentType.BackgroundImage = null;
			this.txtExperimentType.Font = null;
			this.txtExperimentType.Name = "txtExperimentType";
			this.txtExperimentType.ReadOnly = true;
			this.txtProjectName.AccessibleDescription = null;
			this.txtProjectName.AccessibleName = null;
			resources.ApplyResources(this.txtProjectName, "txtProjectName");
			this.txtProjectName.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
			this.txtProjectName.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
			this.txtProjectName.BackColor = System.Drawing.SystemColors.Control;
			this.txtProjectName.BackgroundImage = null;
			this.txtProjectName.Font = null;
			this.txtProjectName.Name = "txtProjectName";
			this.txtProjectName.ReadOnly = true;
			this.lblExperimentType.AccessibleDescription = null;
			this.lblExperimentType.AccessibleName = null;
			resources.ApplyResources(this.lblExperimentType, "lblExperimentType");
			this.lblExperimentType.Font = null;
			this.lblExperimentType.Name = "lblExperimentType";
			this.txtRemark.AcceptsReturn = true;
			this.txtRemark.AccessibleDescription = null;
			this.txtRemark.AccessibleName = null;
			resources.ApplyResources(this.txtRemark, "txtRemark");
			this.txtRemark.BackColor = System.Drawing.SystemColors.Control;
			this.txtRemark.BackgroundImage = null;
			this.txtRemark.Font = null;
			this.txtRemark.Name = "txtRemark";
			this.txtRemark.ReadOnly = true;
			this.lblProjectFile.AccessibleDescription = null;
			this.lblProjectFile.AccessibleName = null;
			resources.ApplyResources(this.lblProjectFile, "lblProjectFile");
			this.lblProjectFile.Font = null;
			this.lblProjectFile.Name = "lblProjectFile";
			this.lblRemark.AccessibleDescription = null;
			this.lblRemark.AccessibleName = null;
			resources.ApplyResources(this.lblRemark, "lblRemark");
			this.lblRemark.Font = null;
			this.lblRemark.Name = "lblRemark";
			this.ultraTabPageControl4.AccessibleDescription = null;
			this.ultraTabPageControl4.AccessibleName = null;
			resources.ApplyResources(this.ultraTabPageControl4, "ultraTabPageControl4");
			this.ultraTabPageControl4.Font = null;
			this.ultraTabPageControl4.Name = "ultraTabPageControl4";
			this.ultraTabPageControl5.AccessibleDescription = null;
			this.ultraTabPageControl5.AccessibleName = null;
			resources.ApplyResources(this.ultraTabPageControl5, "ultraTabPageControl5");
			this.ultraTabPageControl5.Font = null;
			this.ultraTabPageControl5.Name = "ultraTabPageControl5";
			this.ultraTabPageControl6.AccessibleDescription = null;
			this.ultraTabPageControl6.AccessibleName = null;
			resources.ApplyResources(this.ultraTabPageControl6, "ultraTabPageControl6");
			this.ultraTabPageControl6.Controls.Add(this.grdCrossTalk);
			this.ultraTabPageControl6.Font = null;
			this.ultraTabPageControl6.Name = "ultraTabPageControl6";
			this.grdCrossTalk.AccessibleDescription = null;
			this.grdCrossTalk.AccessibleName = null;
			resources.ApplyResources(this.grdCrossTalk, "grdCrossTalk");
			this.grdCrossTalk.BackgroundImage = null;
			appearance.BackColor = System.Drawing.SystemColors.Window;
			appearance.BorderColor = System.Drawing.SystemColors.InactiveCaption;
			resources.ApplyResources(appearance, "appearance4");
			appearance.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.Appearance = appearance;
			this.grdCrossTalk.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
			this.grdCrossTalk.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
			appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
			appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
			appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
			appearance2.BorderColor = System.Drawing.SystemColors.Window;
			resources.ApplyResources(appearance2, "appearance1");
			appearance2.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.GroupByBox.Appearance = appearance2;
			appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
			resources.ApplyResources(appearance3, "appearance2");
			appearance3.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
			this.grdCrossTalk.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
			appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
			appearance4.BackColor2 = System.Drawing.SystemColors.Control;
			appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
			appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
			resources.ApplyResources(appearance4, "appearance3");
			appearance4.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
			this.grdCrossTalk.DisplayLayout.MaxColScrollRegions = 1;
			this.grdCrossTalk.DisplayLayout.MaxRowScrollRegions = 1;
			appearance5.BackColor = System.Drawing.SystemColors.Window;
			appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
			resources.ApplyResources(appearance5, "appearance12");
			appearance5.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.Override.ActiveCellAppearance = appearance5;
			this.grdCrossTalk.DisplayLayout.Override.ActiveRowAppearance = appearance5;
			this.grdCrossTalk.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
			this.grdCrossTalk.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
			appearance6.BackColor = System.Drawing.SystemColors.Window;
			resources.ApplyResources(appearance6, "appearance6");
			appearance6.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.Override.CardAreaAppearance = appearance6;
			appearance7.BorderColor = System.Drawing.Color.Silver;
			resources.ApplyResources(appearance7, "appearance5");
			appearance7.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
			appearance7.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.Override.CellAppearance = appearance7;
			this.grdCrossTalk.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.CellSelect;
			this.grdCrossTalk.DisplayLayout.Override.CellPadding = 0;
			appearance8.BackColor = System.Drawing.SystemColors.Control;
			appearance8.BackColor2 = System.Drawing.SystemColors.ControlDark;
			appearance8.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
			appearance8.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
			appearance8.BorderColor = System.Drawing.SystemColors.Window;
			resources.ApplyResources(appearance8, "appearance9");
			appearance8.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.Override.GroupByRowAppearance = appearance8;
			this.grdCrossTalk.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.Select;
			this.grdCrossTalk.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
			appearance9.BackColor = System.Drawing.SystemColors.Window;
			appearance9.BorderColor = System.Drawing.Color.Silver;
			resources.ApplyResources(appearance9, "appearance10");
			appearance9.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.Override.RowAppearance = appearance9;
			this.grdCrossTalk.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
			appearance10.BackColor = System.Drawing.SystemColors.ControlLight;
			resources.ApplyResources(appearance10, "appearance8");
			appearance10.ForceApplyResources = "";
			this.grdCrossTalk.DisplayLayout.Override.TemplateAddRowAppearance = appearance10;
			this.grdCrossTalk.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
			this.grdCrossTalk.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
			this.grdCrossTalk.DisplayLayout.ViewStyle = Infragistics.Win.UltraWinGrid.ViewStyle.SingleBand;
			this.grdCrossTalk.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
			this.grdCrossTalk.Font = null;
			this.grdCrossTalk.Name = "grdCrossTalk";
			this.ultraTabPageControl2.AccessibleDescription = null;
			this.ultraTabPageControl2.AccessibleName = null;
			resources.ApplyResources(this.ultraTabPageControl2, "ultraTabPageControl2");
			this.ultraTabPageControl2.Font = null;
			this.ultraTabPageControl2.Name = "ultraTabPageControl2";
			this.lstProject.AccessibleDescription = null;
			this.lstProject.AccessibleName = null;
			resources.ApplyResources(this.lstProject, "lstProject");
			this.lstProject.BackgroundImage = null;
			this.lstProject.Font = null;
			this.lstProject.FormattingEnabled = true;
			this.lstProject.Name = "lstProject";
			this.lstProject.MouseUp += new System.Windows.Forms.MouseEventHandler(lstProject_MouseUp);
			this.lstProject.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(lstProject_MouseDoubleClick);
			this.ultraProjectFolder.AccessibleDescription = null;
			this.ultraProjectFolder.AccessibleName = null;
			resources.ApplyResources(this.ultraProjectFolder, "ultraProjectFolder");
			this.ultraProjectFolder.BackgroundImage = null;
			this.ultraProjectFolder.Font = null;
			this.ultraProjectFolder.Name = "ultraProjectFolder";
			this.grpProjectList.AccessibleDescription = null;
			this.grpProjectList.AccessibleName = null;
			resources.ApplyResources(this.grpProjectList, "grpProjectList");
			this.grpProjectList.BackgroundImage = null;
			this.grpProjectList.Controls.Add(this.lstProject);
			this.grpProjectList.Font = null;
			this.grpProjectList.Name = "grpProjectList";
			this.grpProjectList.TabStop = false;
			this.pnlControls.AccessibleDescription = null;
			this.pnlControls.AccessibleName = null;
			resources.ApplyResources(this.pnlControls, "pnlControls");
			this.pnlControls.BackgroundImage = null;
			this.pnlControls.Font = null;
			this.pnlControls.Name = "pnlControls";
			this.pnlPreview.AccessibleDescription = null;
			this.pnlPreview.AccessibleName = null;
			resources.ApplyResources(this.pnlPreview, "pnlPreview");
			this.pnlPreview.BackgroundImage = null;
			this.pnlPreview.Controls.Add(this.ultraTabPreview);
			this.pnlPreview.Controls.Add(this.pnlControls);
			this.pnlPreview.Controls.Add(this.grpProjectList);
			this.pnlPreview.Font = null;
			this.pnlPreview.Name = "pnlPreview";
			this.ultraTabPreview.AccessibleDescription = null;
			this.ultraTabPreview.AccessibleName = null;
			resources.ApplyResources(this.ultraTabPreview, "ultraTabPreview");
			this.ultraTabPreview.BackgroundImage = null;
			this.ultraTabPreview.CloseButtonLocation = Infragistics.Win.UltraWinTabs.TabCloseButtonLocation.None;
			this.ultraTabPreview.Controls.Add(this.ultraTabSharedControlsPage1);
			this.ultraTabPreview.Controls.Add(this.ultraTabPageControl1);
			this.ultraTabPreview.Controls.Add(this.ultraTabPageControl2);
			this.ultraTabPreview.Controls.Add(this.ultraTabPageControl4);
			this.ultraTabPreview.Controls.Add(this.ultraTabPageControl5);
			this.ultraTabPreview.Controls.Add(this.ultraTabPageControl6);
			this.ultraTabPreview.Controls.Add(this.ultraTabPageControl7);
			this.ultraTabPreview.Font = null;
			this.ultraTabPreview.Name = "ultraTabPreview";
			this.ultraTabPreview.SharedControlsPage = this.ultraTabSharedControlsPage1;
			ultraTab.Key = "Program Option";
			ultraTab.TabPage = this.ultraTabPageControl7;
			resources.ApplyResources(ultraTab, "ultraTab3");
			ultraTab.ForceApplyResources = "";
			ultraTab2.Key = "Information";
			ultraTab2.TabPage = this.ultraTabPageControl1;
			resources.ApplyResources(ultraTab2, "ultraTab1");
			ultraTab2.ForceApplyResources = "";
			ultraTab3.Key = "Analysis Option";
			ultraTab3.TabPage = this.ultraTabPageControl4;
			resources.ApplyResources(ultraTab3, "ultraTab4");
			ultraTab3.ForceApplyResources = "";
			ultraTab4.Key = "Rule";
			ultraTab4.TabPage = this.ultraTabPageControl5;
			resources.ApplyResources(ultraTab4, "ultraTab5");
			ultraTab4.ForceApplyResources = "";
			ultraTab5.Key = "Cross Talk";
			ultraTab5.TabPage = this.ultraTabPageControl6;
			resources.ApplyResources(ultraTab5, "ultraTab6");
			ultraTab5.ForceApplyResources = "";
			ultraTab6.Key = "Program Curve";
			ultraTab6.TabPage = this.ultraTabPageControl2;
			resources.ApplyResources(ultraTab6, "ultraTab2");
			ultraTab6.Visible = false;
			ultraTab6.ForceApplyResources = "";
			this.ultraTabPreview.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[6] { ultraTab, ultraTab2, ultraTab3, ultraTab4, ultraTab5, ultraTab6 });
			this.ultraTabSharedControlsPage1.AccessibleDescription = null;
			this.ultraTabSharedControlsPage1.AccessibleName = null;
			resources.ApplyResources(this.ultraTabSharedControlsPage1, "ultraTabSharedControlsPage1");
			this.ultraTabSharedControlsPage1.Font = null;
			this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
			this.ultraTabPageControl3.AccessibleDescription = null;
			this.ultraTabPageControl3.AccessibleName = null;
			resources.ApplyResources(this.ultraTabPageControl3, "ultraTabPageControl3");
			this.ultraTabPageControl3.Font = null;
			this.ultraTabPageControl3.Name = "ultraTabPageControl3";
			this.panelButtons.AccessibleDescription = null;
			this.panelButtons.AccessibleName = null;
			resources.ApplyResources(this.panelButtons, "panelButtons");
			this.panelButtons.BackgroundImage = null;
			this.panelButtons.Controls.Add(this.btnCreateNewProject);
			this.panelButtons.Controls.Add(this.label1);
			this.panelButtons.Controls.Add(this.btnClose);
			this.panelButtons.Controls.Add(this.btnConfirm);
			this.panelButtons.Font = null;
			this.panelButtons.ForeColor = System.Drawing.SystemColors.ControlText;
			this.panelButtons.Name = "panelButtons";
			this.btnCreateNewProject.AccessibleDescription = null;
			this.btnCreateNewProject.AccessibleName = null;
			resources.ApplyResources(this.btnCreateNewProject, "btnCreateNewProject");
			this.btnCreateNewProject.BackgroundImage = null;
			this.btnCreateNewProject.Font = null;
			this.btnCreateNewProject.Name = "btnCreateNewProject";
			this.btnCreateNewProject.UseVisualStyleBackColor = true;
			this.btnCreateNewProject.Click += new System.EventHandler(btnCreateNewProject_Click);
			this.label1.AccessibleDescription = null;
			this.label1.AccessibleName = null;
			resources.ApplyResources(this.label1, "label1");
			this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.label1.Font = null;
			this.label1.Name = "label1";
			this.btnClose.AccessibleDescription = null;
			this.btnClose.AccessibleName = null;
			resources.ApplyResources(this.btnClose, "btnClose");
			this.btnClose.BackgroundImage = null;
			this.btnClose.Font = null;
			this.btnClose.Name = "btnClose";
			this.btnClose.UseVisualStyleBackColor = true;
			this.btnConfirm.AccessibleDescription = null;
			this.btnConfirm.AccessibleName = null;
			resources.ApplyResources(this.btnConfirm, "btnConfirm");
			this.btnConfirm.BackgroundImage = null;
			this.btnConfirm.Font = null;
			this.btnConfirm.Name = "btnConfirm";
			this.btnConfirm.UseVisualStyleBackColor = true;
			this.btnConfirm.Click += new System.EventHandler(btnConfirm_Click);
			this.groupBox.AccessibleDescription = null;
			this.groupBox.AccessibleName = null;
			resources.ApplyResources(this.groupBox, "groupBox");
			this.groupBox.BackgroundImage = null;
			this.groupBox.Controls.Add(this.ultraProjectFolder);
			this.groupBox.Font = null;
			this.groupBox.Name = "groupBox";
			this.groupBox.TabStop = false;
			this.grpProjectType.AccessibleDescription = null;
			this.grpProjectType.AccessibleName = null;
			resources.ApplyResources(this.grpProjectType, "grpProjectType");
			this.grpProjectType.BackgroundImage = null;
			this.grpProjectType.Controls.Add(this.cmbExperimentType);
			this.grpProjectType.Font = null;
			this.grpProjectType.Name = "grpProjectType";
			this.grpProjectType.TabStop = false;
			this.cmbExperimentType.AccessibleDescription = null;
			this.cmbExperimentType.AccessibleName = null;
			resources.ApplyResources(this.cmbExperimentType, "cmbExperimentType");
			this.cmbExperimentType.BackgroundImage = null;
			this.cmbExperimentType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmbExperimentType.Font = null;
			this.cmbExperimentType.FormattingEnabled = true;
			this.cmbExperimentType.Name = "cmbExperimentType";
			base.AccessibleDescription = null;
			base.AccessibleName = null;
			resources.ApplyResources(this, "$this");
			base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.BackgroundImage = null;
			base.Controls.Add(this.grpProjectType);
			base.Controls.Add(this.pnlPreview);
			base.Controls.Add(this.panelButtons);
			base.Controls.Add(this.groupBox);
			this.Font = null;
			base.Icon = null;
			base.MaximizeBox = false;
			base.MinimizeBox = false;
			base.Name = "FormProjectManager";
			base.ShowIcon = false;
			base.ShowInTaskbar = false;
			base.Load += new System.EventHandler(FormProjectManager_Load);
			this.ultraTabPageControl7.ResumeLayout(false);
			this.grpCurve.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.chartPcrProgram).EndInit();
			((System.ComponentModel.ISupportInitialize)this.scrollBar).EndInit();
			this.panel2.ResumeLayout(false);
			this.ultraTabPageControl1.ResumeLayout(false);
			this.panel1.ResumeLayout(false);
			this.panel1.PerformLayout();
			this.grpControlMode.ResumeLayout(false);
			this.grpControlMode.PerformLayout();
			this.ultraTabPageControl6.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.grdCrossTalk).EndInit();
			((System.ComponentModel.ISupportInitialize)this.ultraProjectFolder).EndInit();
			this.grpProjectList.ResumeLayout(false);
			this.pnlPreview.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)this.ultraTabPreview).EndInit();
			this.ultraTabPreview.ResumeLayout(false);
			this.panelButtons.ResumeLayout(false);
			this.groupBox.ResumeLayout(false);
			this.groupBox.PerformLayout();
			this.grpProjectType.ResumeLayout(false);
			base.ResumeLayout(false);
		}
	}
}
